Clover coverage report - Flock Flock - 0.7-dev
Coverage timestamp: Thu Jan 30 2003 01:35:37 EST
file stats: LOC: 70   Methods: 7
NCLOC: 36   Classes: 1
This license of Clover is provided to support the development of Flock only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
Subscription.java - 0% 0% 0%
 1   
 package net.sf.flock.impl;
 2   
 
 3   
 import java.net.URL;
 4   
 
 5   
 import net.sf.flock.FeedI;
 6   
 import net.sf.flock.FeedInfoI;
 7   
 import net.sf.flock.MetaData;
 8   
 import net.sf.flock.SubscriptionI;
 9   
 
 10   
 /**
 11   
  * @version $Revision$
 12   
  * @author $Author$
 13   
  */
 14   
 class Subscription implements SubscriptionI {
 15   
 
 16   
     private Feed feed;
 17   
     private URL location;
 18   
     private MetaData metaData;
 19   
 
 20  0
     public Subscription(URL location, MetaData metaData) {
 21  0
         this.setLocation(location);
 22  0
         this.metaData = new MetaData(metaData);
 23  0
         this.feed = new Feed();
 24  0
         this.feed.setSubscriptionInfo(this);
 25  0
         this.feed.setTitle("New feed");
 26   
     }
 27   
 
 28   
     /**
 29   
      * @see net.sf.flock.SubscriptionI#getLocation()
 30   
      */
 31  0
     public URL getLocation() {
 32  0
         return this.location;
 33   
     }
 34   
 
 35  0
     public void setLocation(URL location) {
 36  0
         this.location = location;
 37   
     }
 38   
 
 39   
 
 40   
     /**
 41   
      * @see net.sf.flock.SubscriptionInfoI#getMetaData()
 42   
      */
 43  0
     public MetaData getMetaData() {
 44  0
         return this.metaData;
 45   
     }
 46   
 
 47   
     /**
 48   
      * @see net.sf.flock.SubscriptionI#getFeed()
 49   
      */
 50  0
     public FeedI getFeed() {
 51  0
         return this.feed;
 52   
     }
 53   
 
 54   
     /**
 55   
      * @see net.sf.flock.SubscriptionInfoI#getFeedInfo()
 56   
      */
 57  0
     public FeedInfoI getFeedInfo() {
 58  0
         return this.feed;
 59   
     }
 60   
 
 61   
     /**
 62   
      * Sets the feed.
 63   
      * @param feed The feed to set
 64   
      */
 65  0
     public void setFeed(Feed feed) {
 66  0
         this.feed = feed;
 67   
     }
 68   
 
 69   
 }
 70